<?php
/**
 * Created by PhpStorm.
 * User: Wei
 * Date: 17/10/5
 * Time: 21:24
 */


class HomeController extends BaseController
{
    public function home($id)
    {
        echo setSuccessData(User::first()->where("user_name", "=", "William2"));
    }

}